﻿using System.Xml.Serialization;

namespace TwitterXml
{
    [XmlRootAttribute(ElementName = "direct-messages", IsNullable = false)]
    public class DirectMessages
    {
        private DirectMessage[] direct_message;

        [XmlElement(ElementName = "direct_message")]
        public DirectMessage[] Direct_Message
        {
            get { return direct_message; }
            set { direct_message = value; }
        }

        public DirectMessages()
        {
        }

        public DirectMessages(DirectMessage[] direct_message)
        {
            this.direct_message = direct_message;
        }
    }
}